﻿package com.terrier.ui.skins.defaults
{
    import com.terrier.ui.skins.skinBaseClasses.WxSliderSkinBase;

    public class WxHSliderSkinDefault extends WxSliderSkinBase
    {
        public function WxHSliderSkinDefault()
        {
            _thumbSkin = new ThumbSkin();
            _trackSkin = new TrackSkin();
        }
    }
}
import com.terrier.ui.skins.skinBaseClasses.WxButtonSkinBase;

class TrackSkin extends WxButtonSkinBase
{
    public function TrackSkin()
    {
        _upBg = new HSliderTrack_skin();
        _overBg = _upBg;
        _downBg = _upBg;
        _disabledBg = new HSliderTrack_disabledSkin();
    }
}

class ThumbSkin extends WxButtonSkinBase
{
    public function ThumbSkin()
    {
        _upBg = new HSliderThumb_upSkin();
        _overBg = new HSliderThumb_overSkin();
        _downBg = new HSliderThumb_downSkin();
        _disabledBg = new HSliderThumb_disabledSkin();
    }

    override public function get width():Number
    {
        return 2;
    }

    override public function set width(value:Number):void
    {
        // nothing to do
    }
}
